<!--容器组件-->
<template>
  <div>
    <el-container>
      <!-- 侧边连 -->
      <el-aside width="200px">
        <el-menu>
          <el-menu-item index="1">用户管理</el-menu-item>
          <el-menu-item index="2">车辆管理</el-menu-item>
          <el-menu-item index="3">围栏管理</el-menu-item>
        </el-menu>
      </el-aside>
      <!-- 右侧主体内容 -->
      <el-container>
        <el-header>
          <h1 style="background-color: #0aa1ed;color: #fff;">智慧车辆运营系统-IVOS</h1>
        </el-header>
        <el-main>
          <el-table :data="vehicleArr">
            <el-table-column label="序号" type="index" align="center" width="80"></el-table-column>
            <el-table-column label="品牌" prop="brand" align="center"></el-table-column>
            <el-table-column label="型号" prop="model" align="center"></el-table-column>
            <el-table-column label="车牌号" prop="license" align="center"></el-table-column>
            <el-table-column label="颜色" prop="color" align="center"></el-table-column>
            <el-table-column label="公里数" prop="km" align="center"></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup>
import {ref} from "vue";
const vehicleArr = ref([
  {brand:'红旗',model:'L5',license:'京A88888',color:'黑',km:1000},
  {brand:'劳斯莱斯',model:'辉映',license:'京A66666',color:'黑',km:1000},
  {brand:'奔驰',model:'迈巴赫',license:'沪A88888',color:'银',km:1000},
  {brand:'奥迪',model:'R8',license:'粤A88888',color:'白',km:1000},
  {brand:'兰博基尼',model:'Sian FKP 37',license:'沪A66666',color:'绿',km:100},
  {brand:'道奇',model:'地狱猫',license:'粤B66666',color:'黑',km:1000}
]);
</script>


<style scoped>

</style>